import request from "@/utils/request"
// 获取首页标语
export function getBanner(params = {}) {
    return request({
        url: "/api/banner",
        method: "get",
        params
    })
}

// 编辑首页标语
export function editBanner(params = {}) {
    return request({
        url: "/api/banner",
        method: "post",
        data: params
    })
}

